<!DOCTYPE HTML>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

<head>
	<mata charset="utf_8">
	<title>我的订阅</title>
</head>

<body>
{% if articles.object_list %}
	{% for item in articles.object_list %}
	<h3>
	{{item.title}}
	</h3>
	<a href="{{item.link}}">{{item.link}}</a>
	<p>
	{{item.description}}
	</p>
	<p>
	{{item.pubDate}}
	</p>
	<br>
	{% endfor %}
{% endif %}
</body>

<div class="pagination pagination-centered">
  <ul>
    {% if articles.has_previous %}
    <span><a href="?page={{ articles.previous_page_number }}">前一页</a></span>
    {% else %}
    <span class="active"><a>前一页</a></span>
    {% endif %}

    {% for p in page_range %}
      {% ifequal p articles.number %}
      <span class="active"><a>{{p}}</a></span>
      {% else %}
      <span><a href="?page={{p}}" title="第{{p}}页">{{p}}</a><span>
      {% endifequal %}
    {% endfor %}

    {% if articles.has_next %}
    <span><a href="?page={{ articles.next_page_number }}">后一页</a></span>
    {% else %}
    <span class="active"><a>后一页</a></span>
    {% endif %}
  </ul>
</div>

</html>